<?php

/**
 * This is the model class for table "goods_type".
 *
 * The followings are the available columns in table 'goods_type':
 * @property integer $id ID
 * @property string $name 分类名
 * @property integer $left_num Left Num
 * @property integer $right_num Right Num
 * @property integer $parent_id Parent
 * @property integer $layer Layer
 */
class GoodsType extends ActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return GoodsType the static model class
	 */
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function getMdcClass() {
		return 'application.models.metadata.GoodsTypeMetadata';
	}
}